package com.liam.es.entity.es;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.Date;

@Data
@Document(indexName = "question", type = "_doc")
public class Question {
    @Id
    private String id;

    private Integer type;

    private String question;

    private String options;

    private String answer;

    private Date createdAt;

    private Date updatedAt;

    private Byte deleteTag;

    private Integer subClass;

    private Byte state;

    private Byte lvl;

    private Date expirationTime;

}
